import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/change_shifts_entity.g.dart';
export 'package:enterprise_v6_app/generated/json/change_shifts_entity.g.dart';

@JsonSerializable()
class ChangeShiftsEntity {
  ChangeShiftsEntity();

  factory ChangeShiftsEntity.fromJson(Map<String, dynamic> json) => $ChangeShiftsEntityFromJson(json);

  ///	企业编码
  String? companyCode = '';

  ///	创建人
  String? createBy = '';

  ///	创建人Id
  String? createById = '';

  ///	创建时间
  String? createDate = '';

  ///	删除标记 正常-0 已删除-1
  String? deleted = '';

  ///	主键ID
  String? id = '';

  ///	交接内容
  String? joinContent = '';

  ///	被交接人列表(原作业人)
  String? joinList = '';

  ///	作业人列表
  String? operatorList = '';

  ///	作业人类型 0：作业实施人 1：作业负责人 2：作业监护人 3:编制人 4：司索人 5:指挥人 6：用电人
  int? operatorType = 0;

  ///	作业计划ID
  String? ticketPlanId = '';

  ///	作业票ID
  String? ticketReceiptId = '';

  ///修改人
  String? updateBy = '';

  ///	修改人Id
  String? updateById = '';

  ///	修改时间
  String? updateDate = '';

  Map<String, dynamic> toJson() => $ChangeShiftsEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
